package com.assignwork.mapper;

import com.assignwork.dto.StatisticsThroughputForecastCargoDTO;
import com.assignwork.dto.ThroughputForecastDTO;
import com.assignwork.entity.ThroughputForecast;
import com.assignwork.vo.StatisticsThroughputForecastVO;
import com.assignwork.vo.ThroughputForecastVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ThroughputForecastMapper extends BaseMapper<ThroughputForecast> {
    IPage<ThroughputForecastVO> pageThroughputForecastVO(IPage<ThroughputForecastVO> page, @Param("search") ThroughputForecastDTO search);

    List<StatisticsThroughputForecastVO> statisticsThroughputForecast(@Param("search") ThroughputForecastDTO search);

    String statisticsAllThroughputForecast(@Param("search") ThroughputForecastDTO search);

    List<StatisticsThroughputForecastCargoDTO> statisticsThroughputForecastCargo(@Param("groupId") Long groupId, @Param("year") String year);
}
